<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>登陆</title>
    <!--引入Bootstrap Css资源-->
    <link rel="stylesheet" href="http://cdn.bootcss.com/bootstrap/3.2.0/css/bootstrap.min.css">
</head>
<body>

    <div class="container">
        <div class="col-md-4"></div>
        <div class="col-md-4" style="background-color: #eee;margin-top: 200px">
            <span style="color: red" th:text="${message}"></span>
            <center>
                <h3>YingMaTechnology</h3>
            </center>
            <form th:action="@{/login}" method="post">
                <div class="form-group ">
                    <label >用户名:</label>
                    <input type="text" name="username" class="form-control" style="color: red">
                </div>
                <div class="form-group ">
                    <label >密码： </label>
                    <input type="password" name="password" class="form-control" style="color: red">
                </div>
                <div class="form-group">
                    <input type="submit" value="登陆" class="btn btn-success form-control">
                </div>
            </form>
        </div>
        <div class="col-md-4"></div>
    </div>
</body>
</html>